﻿using System;
using System.Collections.Generic;
using System.Text;
using XDesigner.Writer.Security;

namespace XDesigner.Writer.Test
{
    /// <summary>
    /// 应用程序启动选项
    /// </summary>
    public class AppStartOptions
    {
        private bool _DoubleBuffering = true;
        /// <summary>
        /// 是否启用双缓冲技术
        /// </summary>
        public bool DoubleBuffering
        {
            get { return _DoubleBuffering; }
            set { _DoubleBuffering = value; }
        }

        private bool _EnablePermissionControl = false;
        /// <summary>
        /// 启用用户权限控制
        /// </summary>
        public bool EnablePermissionControl
        {
            get { return _EnablePermissionControl; }
            set { _EnablePermissionControl = value; }
        }

        private UserLoginInfo _LoginInfo = null;

        public UserLoginInfo LoginInfo
        {
            get { return _LoginInfo; }
            set { _LoginInfo = value; }
        }

    }
}
